home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1833 / 1833.xpi / chrome / yoono.jar / content / yoono / bookmarks / bookmarksdlg.xul < prev    next >
Extensible Markup Language  |  2009-12-16  |  6KB  |  171 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE window SYSTEM "chrome://yoono/locale/bookmarksdlg.dtd">
  3.  
  4. <!--
  5.   @author    david marteau <marteau.david@free.fr>
  6.   @copyright 2005-2006 Yoono
  7. -->
  8.  
  9. <?xml-stylesheet href="chrome://yoono/skin/bookmarks/bookmarksdlg.css" type="text/css"?>
  10.  
  11. <dialog 
  12.    id="yoono-dialog-bookmarks"
  13.    title="yoono"
  14.    orient="vertical"
  15.    buttons="accept,cancel"
  16.    ondialogaccept="return onAcceptDialog()"
  17.    ondialogcancel="return onCancelDialog()"
  18.    onload="onInitDialog()"
  19.    persist="screenX screenY"
  20.    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  21.    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  22.    
  23.    <script type="application/javascript" src="bookmarksdlg.js"/>
  24.  
  25.    <box class="yoono-dlgheader-box" align="end">
  26.      <hbox class="header-title" align="center">
  27.        <image class="bookmarks-header-pict"/>
  28.        <label class="header" value="&bmarks.restore.header;"/>
  29.      </hbox>
  30.    </box>
  31.  
  32.    <vbox class="yoono-dlgcontent-box" flex="1">
  33.    
  34.      <description class="presentation">
  35.         &bmarks.presentation; <hint>&bmarks.presentation.hint;</hint>
  36.      </description>
  37.    
  38.      <hbox flex="1" id="yoono-inner-box">
  39.        
  40.        <tree id="backuplistbox"
  41.              class="yoono"
  42.              hidecolumnpicker="true"
  43.              datasources="rdf:null"          
  44.              sortResource="http://yoono.com/bkm-rdf#name"
  45.              sortDirection="descending"
  46.              ref="urn:bookmarks:backups"
  47.              onselect="onSelectArchive(event.originalTarget)">
  48.  
  49.         <template>
  50.           <rule>
  51.              <conditions>
  52.                <content uri="?uri"/>
  53.                <member container="?uri" child="?listitem"/>
  54.              </conditions>
  55.  
  56.              <bindings>
  57.                 <binding subject="?listitem" object="?date"
  58.                          predicate="http://yoono.com/bkm-rdf#date"/>
  59.                 <binding subject="?listitem" object="?time"
  60.                          predicate="http://yoono.com/bkm-rdf#time"/>
  61.                 <binding subject="?listitem" object="?abbr"
  62.                          predicate="http://yoono.com/bkm-rdf#abbr"/>
  63.                 <binding subject="?listitem" object="?count"
  64.                          predicate="http://yoono.com/bkm-rdf#count"/>
  65.              </bindings>
  66.  
  67.              <action>
  68.                <treechildren>
  69.                   <treeitem uri="?listitem">
  70.                     <treerow>
  71.                        <treecell label="?abbr" properties="archive"/>
  72.                     </treerow>
  73.                   </treeitem>   
  74.                </treechildren>
  75.              </action>
  76.           </rule>
  77.         </template> 
  78.  
  79.         <treecols>
  80.           <treecol id="column1" flex="1" hideheader="true" primary="true"/>
  81.         </treecols>      
  82.  
  83.        </tree>
  84.  
  85.        <tree id="bookmarks-tree" class="yoono" hidecolumnpicker="true"
  86.              datasources="rdf:null" 
  87.              ref="NC:BookmarksRoot"
  88.              flags="dont-build-content"
  89.              flex="1">
  90.  
  91.         <template xmlns:nc="http://home.netscape.com/NC-rdf#">
  92.  
  93.           <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  94.             <treechildren>
  95.               <treeitem uri="rdf:*">
  96.                 <treerow properties="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type separator">
  97.                   <treecell properties="separator" label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  98.                 </treerow>
  99.               </treeitem>
  100.             </treechildren>
  101.           </rule>
  102.  
  103.           <rule>
  104.             <treechildren>
  105.               <treeitem uri="rdf:*">
  106.                 <treerow properties="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
  107.                   <treecell icon="rdf:http://home.netscape.com/NC-rdf#Icon"
  108.                             label="rdf:http://home.netscape.com/NC-rdf#Name"
  109.                             properties="toolbarfolder-rdf:http://home.netscape.com/NC-rdf#BookmarksToolbarFolder"/>
  110.                 </treerow>
  111.               </treeitem>
  112.             </treechildren>
  113.           </rule>
  114.  
  115.         </template>
  116.  
  117.         <treecols>
  118.           <treecol id="BmkColumn" type="richtreecol"
  119.             flex="1" primary="true">
  120.             <image class="treecol-image bookmarks-iconic"/>
  121.             <label class="treecol-text" 
  122.                    value="&bmarks.treehead.label;"
  123.                    crop="right"/> 
  124.             <label id="linkcount" class="hint" flex="1"/> 
  125.           </treecol>
  126.         </treecols>      
  127.        
  128.        </tree>
  129.        
  130.      </hbox>     
  131.  
  132.      <hbox id="select-history-box" align="center">
  133.  
  134.        <label value="&bmarks.numarchives.label;"/> 
  135.  
  136.        <menulist id="maxhistorymenu" oncommand="onChangeMaxHistory()">
  137.         <menupopup>
  138.           <menuitem label="1"   value="1"/>
  139.           <menuitem label="2"   value="2"/>
  140.           <menuitem label="3"   value="3"/>
  141.           <menuitem label="4"   value="4"/>
  142.           <menuitem label="5"   value="5"/>
  143.           <menuitem label="6"   value="6"/>
  144.           <menuitem label="7"   value="7"/>
  145.           <menuitem label="8"   value="8"/>
  146.           <menuitem label="9"   value="9"/>
  147.           <menuitem label="10"  value="10"/>
  148.           <menuitem id="custom-history" 
  149.                     collapsed="true"
  150.                     label="" value=""
  151.                     persist="label value"/>
  152.           <menuseparator/>
  153.           <menuitem label="Autre" value="custom"/>
  154.         </menupopup>
  155.        </menulist>
  156.      </hbox>
  157.  
  158.    </vbox>
  159.  
  160.    <hbox class="yoono-dlgbutton-box" align="end">
  161.      <button dlgtype="cancel" label="&bmarks.cancel.label;"/>
  162.      <spacer flex="1"/>
  163.      <button dlgtype="accept" class="bookmarks-iconic" id="acceptbtn"
  164.              label="&bmarks.restorebtn.label;"
  165.              disabled="true"/>
  166.    </hbox>
  167.  
  168.    <stringbundle id="bundle" src="chrome://yoono/locale/bookmarks.properties"/>
  169.  
  170. </dialog>
  171.